package mi.payment.bean.datacollection;

/**
 * Created by zjr on 2018/2/26.
 * address :zhoujirui@sunmi.com
 * 旧版本dataService数据接收类型
 */

public class DataServiceInfo<T> {
    /**
     * 数据接口名称
     */
    private String dataName;

    /**
     * 数据
     */
    private T sData;

    /**
     * 时间戳
     */
    private long sTime;

    public DataServiceInfo(String dataName, T sData, long sTime) {
        this.dataName = dataName;
        this.sData = sData;
        this.sTime = sTime;
    }

    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName;
    }

    public T getsData() {
        return sData;
    }

    public void setsData(T sData) {
        this.sData = sData;
    }

    public long getsTime() {
        return sTime;
    }

    public void setsTime(long sTime) {
        this.sTime = sTime;
    }
}
